package com.changgou.goods.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author : 残影
 * @Date: 2020/7/28 16:51
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "tb_category_brand")
@ApiModel("分类品牌关联")
public class CategoryBrand {
    @Id
    @ApiModelProperty("分类id")
    private Integer categoryId;

    @Id
    @ApiModelProperty("品牌id")
    private Integer brandId;
}